github.com/andybalholm/brotli.Writer.commands (field)

22 uses

	github.com/andybalholm/brotli (current package)
		encode.go#L83: 	commands            []command
		encode.go#L613: 	s.commands = s.commands[:0]
		encode.go#L712: 	var last_command *command = &s.commands[len(s.commands)-1]
		encode.go#L814: 		newsize := len(s.commands) + int(bytes)/2 + 1
		encode.go#L815: 		if newsize > cap(s.commands) {
		encode.go#L820: 			new_commands := make([]command, len(s.commands), newsize)
		encode.go#L821: 			if s.commands != nil {
		encode.go#L822: 				copy(new_commands, s.commands)
		encode.go#L825: 			s.commands = new_commands
		encode.go#L833: 	if len(s.commands) != 0 && s.last_insert_len_ == 0 {
		encode.go#L839: 		createZopfliBackwardReferences(uint(bytes), uint(wrapped_last_processed_pos), data, uint(mask), &s.params, s.hasher_.(*h10), s.dist_cache_[:], &s.last_insert_len_, &s.commands, &s.num_literals_)
		encode.go#L842: 		createHqZopfliBackwardReferences(uint(bytes), uint(wrapped_last_processed_pos), data, uint(mask), &s.params, s.hasher_, s.dist_cache_[:], &s.last_insert_len_, &s.commands, &s.num_literals_)
		encode.go#L844: 		createBackwardReferences(uint(bytes), uint(wrapped_last_processed_pos), data, uint(mask), &s.params, s.hasher_, s.dist_cache_[:], &s.last_insert_len_, &s.commands, &s.num_literals_)
		encode.go#L852: 		var should_flush bool = (s.params.quality < minQualityForBlockSplit && s.num_literals_+uint(len(s.commands)) >= maxNumDelayedSymbols)
		encode.go#L858: 		if !is_last && !force_flush && !should_flush && next_input_fits_metablock && s.num_literals_ < max_literals && len(s.commands) < max_commands {
		encode.go#L870: 		s.commands = append(s.commands, makeInsertCommand(s.last_insert_len_))
		encode.go#L890: 		writeMetaBlockInternal(data, uint(mask), s.last_flush_pos_, uint(metablock_size), is_last, literal_context_mode, &s.params, s.prev_byte_, s.prev_byte2_, s.num_literals_, s.commands, s.saved_dist_cache_[:], s.dist_cache_[:], &storage_ix, storage)
		encode.go#L906: 		s.commands = s.commands[:0]